<!DOCTYPE HTML>
<html>
<head>
    <meta charset="utf-8">
    <meta name="renderer" content="webkit|ie-comp|ie-stand">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport"
          content="width=device-width,initial-scale=1,minimum-scale=1.0,maximum-scale=1.0,user-scalable=no"/>
    <meta http-equiv="Cache-Control" content="no-siteapp"/>
    <!--[if lt IE 9]>
    <script type="text/javascript" src="__PUBLIC__/Admin/js/html5.js"></script>
    <script type="text/javascript" src="__PUBLIC__/Admin/js/respond.min.js"></script>
    <script type="text/javascript" src="__PUBLIC__/Admin/js/PIE_IE678.js"></script>
    <![endif]-->
    <link type="text/css" rel="stylesheet"
          href="__PUBLIC__/Admin/css/H-ui.css"/>
    <link type="text/css" rel="stylesheet"
          href="__PUBLIC__/Admin/css/H-ui.admin.css"/>
    <link type="text/css" rel="stylesheet"
          href="__PUBLIC__/Admin/font/font-awesome.min.css"/>
    <script type="text/javascript" src="__PUBLIC__/Admin/js/jquery.min.js"></script>


    <!--[if IE 7]>
    <link href="__PUBLIC__/Admin/font/font-awesome-ie7.min.css" rel="stylesheet" type="text/css"/>
    <![endif]-->
    <title>用户管理</title>
</head>
<body>
<nav class="Hui-breadcrumb">
    <i class="icon-home"></i> 首页 <span class="c-gray en">&gt;</span> 用户中心
    <span class="c-gray en">&gt;</span> 用户管理 <a
        class="btn btn-success radius r mr-20"
        style="line-height:1.6em;margin-top:3px"
        href="javascript:location.replace(location.href);" title="刷新"><i
        class="icon-refresh"></i></a>
</nav>
<div class="pd-20">


    <div>
        <form class="form-inline" action="__APP__/Admin/searchuser" method="GET">
            <div class="form-group" >

                <input type="text" hint="用户帐号" name="name" class="form-control">
                <input type="submit" value="搜索" class="btn btn-default radius"/>

                <a type="button" class="btn btn-primary"  href="javascript:;" onClick="user_add('550','','添加用户','__APP__/Admin/useradd')">添加用户</a>
                <a type="button" class="btn btn-info" href="__APP__/Admin/userlist">所有用户</a>
                <a type="button" class="btn btn-success" href="__APP__/Admin/zsuserlist?type=2">正式用户</a>
                <a type="button" class="btn btn-warning" href="__APP__/Admin/zsuserlist?type=3">代理用户</a>
                <a type="button" class="btn btn-danger"href="__APP__/Admin/zsuserlist?type=1">试用用户</a>
            </div>
        </form>
    <!--<div class="form-group" >-->
    <!--<span class="l" >-->

				 <!--<a href="javascript:;" onClick="user_add('550','','添加用户','__APP__/Admin/useradd')"-->
                    <!--class="btn btn-primary radius"><i class="icon-plus"></i> 添加用户</a>   </span>-->
    <!--</div>-->



    </div>

         <!--<div >-->

             <!--<a type="button" class="btn btn-primary"  href="javascript:;" onClick="user_add('550','','添加用户','__APP__/Admin/useradd')">添加用户</a>-->
             <!--<a type="button" class="btn btn-info" href="__APP__/Admin/userlist">所有用户</a>-->
             <!--<a type="button" class="btn btn-success" href="__APP__/Admin/zsuserlist?type=2">正式用户</a>-->
             <!--<a type="button" class="btn btn-warning" href="__APP__/Admin/zsuserlist?type=3">代理用户</a>-->
             <!--<a type="button" class="btn btn-danger"href="__APP__/Admin/zsuserlist?type=1">试用用户</a>-->

         <!--</div>-->

    <table
            class="table table-border table-bordered table-hover table-bg table-sort" style="width: 100%;">
        <thead>
        <tr class="text-c">
            <th width="25"><input type="checkbox" name="" value=""></th>
            <th width="80">ID</th>
            <th width="80">用户</th>
            <th width="100">到期时间</th>
            <th width="100">类型</th>
            <th width="70">状态</th>
            <th width="70">特征码</th>
            <th width="130">操作</th>
        </tr>
        </thead>
        <tbody>
        <volist name="userlist" id="userlist">
            <tr class="text-c">
                <td><input type="checkbox" value="1" name=""></td>

                <td>{$userlist.id}</td>
                <td>
                    <u style="cursor:pointer" class="text-primary"
                       onclick="user_show('{$userlist.id}','360','','用户','<%=path%>/Admin/usershow/{$userlist.id}')">{$userlist.username}</u>

                </td>

                <td class="text-c">{$userlist.time|date="Y-m-d H:i:s",###}</td>

                <td class="user-status">
                    <if condition="$userlist.time lt $Think.NOW_TIME">
                        <span class="label label">已过期</span>
                        <else/>
                        <span class="label label-success">已启用</span>
                    </if>

                </td>
                <td>
                    <if condition="$userlist.type eq 1">
                       <span class="label label-important">试用</span>
                        <elseif condition="$userlist.type eq 2"/>
                       <span class="label label-info">正式</span>
                        <else/>
                        <span class="label label-warning">代理</span>
                    </if>

                </td>
                <td>
                   {$userlist.signature}
                </td>
                <td class="f-14 user-manage">
                    <!--<c:if test="${userlist.state==0}">-->
                    <!--<a style="text-decoration:none"-->
                    <!--onClick="user_start(this,'${userlist.id}','<%=path%>')" href="javascript:;" title="启用">-->
                    <!--<i	class="icon-hand-up"></i>-->
                    <!--</a>-->
                    <!--</c:if>-->
                    <!--<c:if test="${userlist.state==1}">-->
                    <!--<a style="text-decoration:none"-->
                    <!--onClick="user_stop(this,'${userlist.id}','<%=path%>')" href="javascript:;" title="停用">-->
                    <!--<i	class="icon-hand-down"></i>-->
                    <!--</a>-->
                    <!--</c:if>-->
                    <a title="编辑" href="javascript:;"
                       onClick="user_edit('4','550','','编辑','__APP__/Admin/useredit/id/{$userlist.id}')"
                       class="ml-5" style="text-decoration:none">
                        <i class="icon-edit"></i></a>

                    <a style="text-decoration:none" class="ml-5"
                       onClick="user_password_edit('10001','370','228','修改密码','__APP__/Admin/userpwd/id/{$userlist.id}')"
                       href="javascript:;" title="修改密码">
                        <i class="icon-key"></i></a>

                    <a
                            style="text-decoration:none" class="ml-5"
                            href="__APP__/Admin/deluser/id/{$userlist.id}"
                            title="删除">
                        <i class="icon-trash"></i>
                    </a>


                    <!--<a title="删除" href="javascript:;" onClick="user_del('__APP__',{$userlist.id})"-->
                    <!--class="ml-5" style="text-decoration:none"><i-->
                    <!--class="icon-trash"></i></a>-->
                </td>
            </tr>
        </volist>
        </tbody>
    </table>


    <div style="text-align: center;">


        <div class="page">
            {$show}
        </div>
        <form name="searchForm" method="post"></form>
        <link href="__PUBLIC__/Admin/css/bootstrap.css" rel="stylesheet" type="text/css"/>

        <script type="text/javascript" src="__PUBLIC__/Admin/js/bootstrap.js"></script>
        <script type="text/javascript" src="__PUBLIC__/Admin/js/my_page.js"></script>

        <script type="text/javascript">
            $(function () {
                $(".pagination").my_page("searchForm");

            });
        </script>

    </div>


</div>

<script type="text/javascript" src="__PUBLIC__/Admin/layer/layer.min.js"></script>
<script type="text/javascript" src="__PUBLIC__/Admin/js/pagenav.cn.js"></script>
<script type="text/javascript" src="__PUBLIC__/Admin/js/H-ui.js"></script>
<script type="text/javascript"
        src="plugin/My97DatePicker/WdatePicker.js"></script>
<script type="text/javascript" src="__PUBLIC__/Admin/js/jquery.dataTables.min.js"></script>
<script type="text/javascript" src="__PUBLIC__/Admin/js/H-ui.admin.js"></script>

<style>
    /**分页与选定删除**/

    .page {
        height: 40px;
        margin: 20px 0;

        display: inline-block;
        *display: inline;
        margin-bottom: 0;
        margin-left: 0;
        -webkit-border-radius: 3px;
        -moz-border-radius: 3px;
        border-radius: 3px;
        *zoom: 1;
        -webkit-box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
        -moz-box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
        box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);

        border-left: 1px solid #dddddd;
        /*border-left-width: 1px;*/
    }

    .page .current {
        color: #999999;
        cursor: default;
        background-color: transparent;
        float: left;
        padding: 0 14px;
        line-height: 38px;
        text-decoration: none;
        border: 1px solid #dddddd;
        border-left-width: 0;
    }

    .page a {

        float: left;
        padding: 0 14px;
        line-height: 38px;
        text-decoration: none;
        background-color: #ffffff;
        border: 1px solid #dddddd;
        border-left-width: 0;
    }

</style>

</body>
</html>